package com.cxmx.escort.service.Impl;

import com.cxmx.escort.entity.Top;
import com.cxmx.escort.mapper.TopMapper;
import com.cxmx.escort.service.ITopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 充值表 服务实现类
 * </p>
 *
 * @author 陈云轩
 * @since 2019-10-21
 */
@Service
public class TopServiceImpl extends ServiceImpl<TopMapper, Top> implements ITopService {

    @Override
    public Top getByIdBy(String outTradeNo) {
        return this.baseMapper.getByIdBy(outTradeNo);
    }

    @Override
    public void updateByIdBy(String id) {
         this.baseMapper.updateByIdBy(id);
    }
}
